<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class people extends Model
{
    //关联数据表
    public $table = 'people';

    //主键
    public $primaryKey = "id";

    //允许操作的字段
    public $fillable = ['num'];

    //不允许操作的字段
    public $guarded=[];

    //是否维护crated_at和updated_at字段
    public $timestamps = true;
}
